home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / DynaDoodle / Star.bproj / Star.h < prev    next >
Text File  |  1993-12-14  |  1KB  |  32 lines

  1. /**------------------------------------*------------------------------------**
  2.     RELEASED TO THE PUBLIC DOMAIN BY CODEWORKS DEVELOPMENT, DECEMBER 1993.
  3.     You may freely copy, distribute and reuse the code in this example. Codeworks disclaims any warranty of any kind, expressed or implied, as to its fitness for any particular use.
  4.     Author:  Andrew Vyrros, av@codeworks.com
  5.  **------------------------------------*------------------------------------**/
  6. /**------------------------------------*------------------------------------**
  7.     File:    Star.h
  8.     Project: DynaDoodle/Star.bproj
  9.     Info:    Interface of the Star class.
  10.  **------------------------------------*------------------------------------**/
  11.  
  12. #import "../Doodle.h"
  13.  
  14.  
  15. @interface Star:Doodle
  16. {
  17.   id                  numPointsSlider;
  18.   id                  pointRatioSlider;
  19.   id                  troughRatioSlider;
  20.   int                 numPoints;
  21.   float               pointRatio;
  22.   float               troughRatio;
  23. }
  24.  
  25. - didLoadNib;
  26. - drawSelf:(const NXRect *)rects :(int)numRects;
  27. - takeNumPointsFrom:sender;
  28. - takePointRatioFrom:sender;
  29. - takeTroughRatioFrom:sender;
  30.  
  31. @end
  32.